package com.trade.common.utils.email;

import java.util.List;


/**
 * 短信发送
 * Created with IntelliJ IDEA.
 * User: lsk
 * Date: 2017/1/13
 */
public class MsmUtil {
    /**
     * 发送短信
     * @param phoneNum
     * @param msmContent
     * @return
     */
    public static boolean singSend(String phoneNum,String msmContent){
        boolean result = true;
         System.out.println("短信接收号码："+phoneNum);
         System.out.println("短信内容："+msmContent);
        return result;
    }
    /**
     * 短信群发
     * @param phoneNumList
     * @param msmContent
     * @return
     */
    public static boolean groupSend(List<String> phoneNumList,String msmContent){
        boolean result = true;
        for (int i = 0; i < phoneNumList.size(); i++) {
            System.out.println("短信接收号码："+phoneNumList.get(i));
            System.out.println("短信内容："+msmContent);
        }
        return result;
    }
}
